for i in range(1,101):
    if "7" in str(i) or int(i)%7==0:
        print('*',end="、")
    elif "7" not in str(i) and int(i)%7!=0:
        print(i,end='、')